using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using BLL;

namespace QLSV
{
    public partial class frmHienthiSinhvien : Form
    {
        public frmHienthiSinhvien()
        {
            InitializeComponent();
        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            SinhvienDAL sinhviendal = new SinhvienDAL();
            dataGridView1.DataSource = sinhviendal.GetAll();
            dataGridView1.AutoResizeColumns();
        }
    }
}